import React from 'react';
import {
	View,
	ActivityIndicator,
	StyleSheet,
	Platform,
	Text
} from 'react-native';

const MorePageBar = () => (
	<View style={styles.progressBar}>
		<ActivityIndicator size="small" color={Platform.OS === "ios" ? "#999999" : "#EA0000"} />
		<Text style={styles.loadText}>加载中...</Text>
	</View>
);

const styles = StyleSheet.create({
	progressBar: {
		flex: 1,
		flexDirection: 'row',
		justifyContent: 'center',
	},
	loadText:{
		color: '#333',
		fontSize: 14,
		textAlign: 'center',
        marginLeft: 9,
	}
});

export default MorePageBar;
